package com.itheima.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author iTaotao
 * @date 2023/7/26 11:46
 * @desciption: 菜单修改数据模型
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MenuUpdateDTO implements Serializable {
    @ApiModelProperty("组件路径")
    private String component;

    @ApiModelProperty("图标名称")
    private String icon;

    @ApiModelProperty("缓存 0:否 1:是")
    private String cache;

    @ApiModelProperty("外链  0:否 1:是 ")
    private String link;

    @ApiModelProperty("显示  0:否 1:是")
    private String show;

    @ApiModelProperty("权限标识")
    private String mark;

    @ApiModelProperty("路由菜单地址")
    private String path;

    @ApiModelProperty("父级id")
    private String pid;

    @ApiModelProperty("重定向地址")
    private String redirect;

    @ApiModelProperty("排序序号")
    private String sort;

    @ApiModelProperty("菜单文字")
    private String title;

    @ApiModelProperty("菜单类型 1:菜单 2:按钮")
    private String type;

    @ApiModelProperty("菜单id")
    private String id;
}
